package com.maosy.jenkins.services

import com.maosy.jenkins.beans.Users
import com.maosy.jenkins.api.UserService
import com.maosy.jenkins.beans.UserInfo

class UserServicesImpl : UserService {

    override fun login(userName: String, pwd: String): Users {
        println(userName)
        println(pwd)
        return Users(0,userName,pwd).apply {
            userInfo = UserInfo(0,1)
        }
    }
}